//
//  PPWateFallDetailView.h
//  pet
//
//  Created by 陈无忌 on 12/12/14.
//  Copyright (c) 2014 whalefin. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "petPhotoModel.h"

@protocol ImageDelegate<NSObject>
-(void)clickImage:(petPhotoModel *)data;
@end

#define SPACE 4
#define WIDTH [UIScreen mainScreen].applicationFrame.size.width/3
@interface PPWateFallDetailView : UIView
@property (nonatomic,assign)id<ImageDelegate> delegate;
@property (nonatomic) BOOL isSelect;//是否被选中
@property (nonatomic, strong) UIImageView *selectTag;
@property (nonatomic, strong) petPhotoModel *model;
//@property (nonatomic, strong)

- (UIView *)drawViewWithImg :(petPhotoModel *)model AndY:(CGFloat) y;//image 是图片 y是view的Y轴坐标
@end




